package org.dromara.netbar.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 礼包-卡券关联对象 netbar_gift_pack_item
 *
 * @author Lion Li
 * @date 2025-07-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("netbar_gift_pack_item")
public class NetbarGiftPackItem extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 关联ID
     */
    @TableId(value = "pack_item_id")
    private Long packItemId;

    /**
     * 关联礼包ID
     */
    private Long packId;

    /**
     * 关联卡券模板ID
     */
    private Long couponId;

    /**
     * 卡券数量
     */
    private Long couponCount;

    /**
     * 删除标志（0存在 1删除）
     */
    @TableLogic
    private String delFlag;


}
